/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.server.modules.sys.service.servicerecord;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.server.common.persistence.Page;
import com.server.common.service.CrudService;
import com.server.modules.sys.entity.servicerecord.ServiceRecord;
import com.server.modules.sys.dao.servicerecord.ServiceRecordDao;

/**
 * 服务记录查询Service
 * @author 王磊
 * @version 2016-09-19
 */
@Service
@Transactional(readOnly = true)
public class ServiceRecordService extends CrudService<ServiceRecordDao, ServiceRecord> {

	public ServiceRecord get(String id) {
		return super.get(id);
	}
	
	public List<ServiceRecord> findList(ServiceRecord serviceRecord) {
		return super.findList(serviceRecord);
	}
	
	public Page<ServiceRecord> findPage(Page<ServiceRecord> page, ServiceRecord serviceRecord) {
		return super.findPage(page, serviceRecord);
	}
	
	@Transactional(readOnly = false)
	public void save(ServiceRecord serviceRecord) {
		super.save(serviceRecord);
	}
	
	@Transactional(readOnly = false)
	public void delete(ServiceRecord serviceRecord) {
		super.delete(serviceRecord);
	}
	
}